<?php
class Resultado extends AppModel {

	var $name = 'Resultado';
	var $validate = array(
		'exame_id' => array('notempty'),
		'examesRisco_id' => array('notempty'),
		'resultado' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Exame' => array(
			'className' => 'Exame',
			'foreignKey' => 'exame_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'ExamesRisco' => array(
			'className' => 'Examesrisco',
			'foreignKey' => 'examesrisco_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>